package library;

import java.util.List;

import library.item.ItemCategory;
import library.item.LibraryItem;

public interface CategorizedLibrary<T extends LibraryItem> extends Library<T> {
	/**
	 * Returns a list containing all entries that belong to the given category.
	 * 
	 * @param cat the {@link ItemCategory} 
	 * @return a list with all entries of the given category
	 */
	public List<T> getElementsByCategory(ItemCategory cat);
}